<%--
  Created by IntelliJ IDEA.
  User: mayn
  Date: 2019/6/6
  Time: 10:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>编辑字典</title>
    <style type="text/css">
        h2 {
            text-align: center;
        }

        table {
            border: 1px solid black;
            margin: 0 auto;
            width: 60%;
            text-align: center;
        }

        table td {
            border: 1px solid black;
        }
    </style>
</head>
<body>

<h2>编辑字典</h2>

<form action="${pageContext.request.contextPath}/sysdict/saveOrEdit.action" method="post">
    <input type="hidden" name="id" value="${requestScope.sysDict.id}">
    <table cellpadding="10px" cellspacing="0">
        <tr>
            <td>类别：</td>
            <td>
                <input type="text" name="code" value="${requestScope.sysDict.code}"/>
            </td>
        </tr>
        <tr>
            <td>名称：</td>
            <td>
                <input type="text" name="name" value="${requestScope.sysDict.name}">
            </td>
        </tr>
        <tr>
            <td>值：</td>
            <td>
                <input type="text" name="value" value="${requestScope.sysDict.value}"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="提交">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
